<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>Hexo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
<meta name="generator" content="Hexo 5.4.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Hexo</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://example.com"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main">
  
    <article id="post-JDK" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/20/JDK/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T16:59:36.546Z" itemprop="datePublished">2021-09-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>JDK是 Java 语言的软件开发工具包，主要用于移动设备、嵌入式设备上的java应用程序。<br>JDK是整个java开发的核心，它包含了JAVA的运行环境（JVM+Java系统类库）和JAVA工具.</p>
<p>Java技术体系的三个分支，SE、EE、ME，他们可以调用共同的类库JavaSE，就是Java的标准平台。<br>    JavaSE：称为Java标准版或标准平台，开发出来的，就是桌面程序，就是C/S架构的软件。<br>    JavaEE：称为Java企业版或企业平台，JavaEE开发的B/S架构的软件，简单理解就是网站，我们平时看到的各种网站，都可以用JavaEE开发。<br>        JavaEE平台包括JavaSE平台，并增加了附加类库，以便支持目录管理、交易管理等功能。<br>    JavaME：称为Java微型版或小型平台，用于嵌入式的消费产品中，开发的就是手机程序，移动设备程序等！<br>总结就是，SE开发软件，EE开发网站，ME开发移动设备软件。</p>
<p> javaEE是开发web应用的，例如网站，网页等，要想学好javaEE，除了javaSE精通外，<br>你还要学一些其他的框架以及知识，例如js jquery json xml css struts spring 等一些框架。</p>
<p>Java最厉害是也用的最多的地方就是做web应用，当然万web应用大体也可分为前端开发，<br>和后端开发（服务器开发）两类，但是不管怎么样，JavaSE是基础，是必须要好好学的。</p>
<p>JDK(Java Development Kit Java开发工具包)<br>    JDK是提供给Java开发人员使用的,其中包了java的开发工具,也包括了JRE。所以安装了JDK,就不用在单独安装JRE了。<br>    其中的开发工具:编译工具 (javac..exe)打包工具jar.exe)等</p>
<p>JRE(Java Runtime Environment Javai运行环境)<br>    包括Java虚拟机( JVM Java Virtual Machine))和Java程序所需的核心类库等,如果想要运行一个开发好的Java程序,计机中只需要安装JRE即可。</p>
<p>简单而言,使用JDK的开发工具完成的java程序,交给JRE去运行。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/20/JDK/" data-id="cktrgxpin00007ott4qjwatpa" data-title="" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-java的特点" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/20/java%E7%9A%84%E7%89%B9%E7%82%B9/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T16:59:36.546Z" itemprop="datePublished">2021-09-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>一、面向对象<br>    两个基本概念：类、对象<br>    三大特点：封装、继承、多态<br>二、健壮性<br>    吸收了C/C++语言的优点，但去掉了其影响程序健壮性的部分（如指针、内存<br>    的申请与释放等），提供了一个相对安全的内存管理和访问机制<br>三、跨平台性</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/20/java%E7%9A%84%E7%89%B9%E7%82%B9/" data-id="cktrgxpis00017ott0puq7qdc" data-title="" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-两大核心机制" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/20/%E4%B8%A4%E5%A4%A7%E6%A0%B8%E5%BF%83%E6%9C%BA%E5%88%B6/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T16:59:36.546Z" itemprop="datePublished">2021-09-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>JVM是一个虚拟的计算机，具有指令集并使不同的存储区域。负责执行指令，管理数据、内存、寄存器。</p>
<pre><code>&gt;对于不同的平台有不同的虚拟机

&gt;只有某平台提供了对应的java虚拟机，java程序才可在此平台运行

&gt;Java虚拟机机制屏蔽了底层运行平台的差别，实现了“一次编译，到处运行”
</code></pre>
<p>核心机制一垃圾回收</p>
<p>●不再使用的内存空间应回收一一垃圾回收。</p>
<pre><code>&gt;在C/C+等语言中,由程序员负责回收无用内存。

&gt;Java语言消除了程序员回收无用内存空间的责任:它提供一种系统级线程跟踪存储空间的分配情况。
并在JVM空闲时,检查并释那些可被释放的存储空间。
</code></pre>
<p>●垃圾回收在Java程序运行过程中自动进行,程序员无法精确控制和干预。</p>
<p>JDK  JRE  JVM关系</p>
<p>JDK=JRE+JAva开发工具集（例如javac.exe，java.exe，javadoc.exe等）<br>JRE=JVM+Java SE核心类库</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/20/%E4%B8%A4%E5%A4%A7%E6%A0%B8%E5%BF%83%E6%9C%BA%E5%88%B6/" data-id="cktrgxpiu00027ottdjj36sss" data-title="" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-cmd 基本功能执行语句" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/20/cmd%20%E5%9F%BA%E6%9C%AC%E5%8A%9F%E8%83%BD%E6%89%A7%E8%A1%8C%E8%AF%AD%E5%8F%A5/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T16:59:36.530Z" itemprop="datePublished">2021-09-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>常用的DOS命令<br>    dir：列出当前目录下的文件以及文件夹<br>    md：创建目录<br>    rd：删除目录<br>    cd：进入指定目录<br>    cd..：退回到上一级目录<br>    cd\：退回到根目录<br>    del：删除文件<br>    exit：退出dos命令行<br>        echo 内容&gt;文件名.文件形式(txt\doc\jpg)</p>
<p>文本名应以英文命名以方便操作，存放程序的文本文件形式应改为  (文件名.java) ，即定义为java文件，</p>
<p>在cmd中想要运行代码，必须先进入到存放程序文本的目录中，如文本在 D:\java 中，则需要操作</p>
<p>D:&gt;cd java    进入到存放该文本的目录位置   D:\java&gt;</p>
<p>执行时，语句为</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">javac  文件名.java</span><br></pre></td></tr></table></figure>

<p>然后会生成一个以在代码中定义的类名命名的class文件（类名.class）</p>
<p>再输入语句</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">java  类名</span><br></pre></td></tr></table></figure>

<p>文本中的程序便会执行。</p>
<p>​        如果中文乱码，解决语句如下：</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">javac -encoding UTF-8 文件名.java</span><br></pre></td></tr></table></figure>


      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/20/cmd%20%E5%9F%BA%E6%9C%AC%E5%8A%9F%E8%83%BD%E6%89%A7%E8%A1%8C%E8%AF%AD%E5%8F%A5/" data-id="cktrgxpiv00037ott76fd5reo" data-title="" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-字体改色" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/19/%E5%AD%97%E4%BD%93%E6%94%B9%E8%89%B2/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T08:40:26.888Z" itemprop="datePublished">2021-09-19</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p><span style="color:文字颜色;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:aqua;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:blue;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:fuchsia;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:brown;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:red;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p><span style="color:green;background:背景颜色;font-size:文字大小;font-family:字体;">你要改色的文字</span></p>
<p>style=”color:red”</p>
<p>style=”color:maroon”血红色</p>
<p>style=”color:fuchsia”</p>
<p>style=”color:brown”</p>
<p>style=”color:blue”</p>
<p>style=”color:aqua”浅绿色</p>
<p>style=”color:green”</p>
<p>style=”color:orange”</p>
<p>style=”color:purple”</p>
<p>style=”color:white;background:black;”</p>
<p>style=”background:yellow”</p>
<p>style=”background:red”</p>
<p>style=”background:orange”</p>
<p>style=”color:white;background:green”</p>
<p>style=”color:white;background:blue”</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/19/%E5%AD%97%E4%BD%93%E6%94%B9%E8%89%B2/" data-id="cktremxam0002fwtta14dd3v4" data-title="" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-article-test" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/19/article-test/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T08:22:57.000Z" itemprop="datePublished">2021-09-19</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/09/19/article-test/">article_test</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>$ git clone <a target="_blank" rel="noopener" href="https://gitee.com/Suolawangzai/hexo-theme-nebula.git">https://gitee.com/Suolawangzai/hexo-theme-nebula.git</a> themes/nebula</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/19/article-test/" data-id="cktremxad0000fwtt2ljudrsj" data-title="article_test" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  
    <article id="post-hello-world" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/09/19/hello-world/" class="article-date">
  <time class="dt-published" datetime="2021-09-19T07:43:26.592Z" itemprop="datePublished">2021-09-19</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/09/19/hello-world/">Hello World</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/09/19/hello-world/" data-id="cktremxah0001fwtt53w9hp1x" data-title="Hello World" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  


</section>
        
          <aside id="sidebar">
  
    

  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/09/">September 2021</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2021/09/20/JDK/">(no title)</a>
          </li>
        
          <li>
            <a href="/2021/09/20/java%E7%9A%84%E7%89%B9%E7%82%B9/">(no title)</a>
          </li>
        
          <li>
            <a href="/2021/09/20/%E4%B8%A4%E5%A4%A7%E6%A0%B8%E5%BF%83%E6%9C%BA%E5%88%B6/">(no title)</a>
          </li>
        
          <li>
            <a href="/2021/09/20/cmd%20%E5%9F%BA%E6%9C%AC%E5%8A%9F%E8%83%BD%E6%89%A7%E8%A1%8C%E8%AF%AD%E5%8F%A5/">(no title)</a>
          </li>
        
          <li>
            <a href="/2021/09/19/%E5%AD%97%E4%BD%93%E6%94%B9%E8%89%B2/">(no title)</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2021 John Doe<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/js/jquery-3.4.1.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>